package com.fla.aiba.entity.user;

import com.fla.aiba.entity.Entitys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.io.Serializable;

/** 
 *用户择偶意向
 */
@Entity
@Table(name = "t_user_matechoice")
public class Matechoice extends Entitys implements Serializable {
	private static final long serialVersionUID = 1L;
		 /**
		 	用户ID
		 **/
		 @Id
		 private String  id ;
		 /**
		 	最小年龄
		 **/
		 private Integer  minSex ;
		 /**
		 	最大年龄
		 **/
		 private Integer  maxSex ;

		/**
		 * 最小身高
		 */
		private Integer minHeight;
		 /**
		 	最大身高
		 **/
		 private Integer   maxHeight;


		 /**
		 	最低月收入
		 **/
		 private Integer  minIncome ;
		/**
		 最高月收入
		 **/
		private Integer  maxIncome ;

		 /**
		 	工作地点
		 **/
		 private String  workAddress ;
		/**
		 婚烟状总(0未婚 1离异 2丧偶 3已婚)
		 **/
		private Integer  maritalStatus ;
		/**
		 学历:1 初中 2.中专 3.高中 4.大专  5.本科 6.硕士 7.博士 8博士后
		 **/
		private Integer  education ;
		/**
		 有无子女(0.没有 1.有，和我住一起 2.有，有时和我住一起 3有，不和我住一起)
		 **/
		private Integer  children ;
		/**
		 购车情况(0.未购车 1已购车 3.单位用车 4需要时购置)
		 **/
		private Integer  car ;
		/**
		 购房情况(0以后再告诉你  1.与父母同住 2租房 3已购房(有货款) 4已购房(无货款) 5住单位房 6住亲朋家 4需要时购置)
		 **/
		private Integer  house ;
		 /**
		 	创建时间
		 **/
		 @Column(nullable = false,updatable = false)
		 private Date  createTime=new Date() ;
		 /**
		 	更新时间
		 **/
		 @Column(insertable = false)
		 private Date  lastModifyTime=new Date() ;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public Integer getMinSex() {
			return minSex;
		}

		public void setMinSex(Integer minSex) {
			this.minSex = minSex;
		}

		public Integer getMaxSex() {
			return maxSex;
		}

		public void setMaxSex(Integer maxSex) {
			this.maxSex = maxSex;
		}

		public Integer getMinHeight() {
			return minHeight;
		}

		public void setMinHeight(Integer minHeight) {
			this.minHeight = minHeight;
		}

		public Integer getMaxHeight() {
			return maxHeight;
		}

		public void setMaxHeight(Integer maxHeight) {
			this.maxHeight = maxHeight;
		}

		public Integer getMinIncome() {
			return minIncome;
		}

		public void setMinIncome(Integer minIncome) {
			this.minIncome = minIncome;
		}

		public Integer getMaxIncome() {
			return maxIncome;
		}

		public void setMaxIncome(Integer maxIncome) {
			this.maxIncome = maxIncome;
		}

		public String getWorkAddress() {
			return workAddress;
		}

		public void setWorkAddress(String workAddress) {
			this.workAddress = workAddress;
		}

		public Integer getMaritalStatus() {
			return maritalStatus;
		}

		public void setMaritalStatus(Integer maritalStatus) {
			this.maritalStatus = maritalStatus;
		}

		public Integer getEducation() {
			return education;
		}

		public void setEducation(Integer education) {
			this.education = education;
		}

		public Integer getChildren() {
			return children;
		}

		public void setChildren(Integer children) {
			this.children = children;
		}

		public Integer getCar() {
			return car;
		}

		public void setCar(Integer car) {
			this.car = car;
		}

		public Integer getHouse() {
			return house;
		}

		public void setHouse(Integer house) {
			this.house = house;
		}

		public Date getCreateTime() {
			return createTime;
		}

		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}

		public Date getLastModifyTime() {
			return lastModifyTime;
		}

		public void setLastModifyTime(Date lastModifyTime) {
			this.lastModifyTime = lastModifyTime;
		}
}